import _00GraphFuc as gf
#测试随机生成权重的weighedgraph方法

m,n=10,20
[V0,E0]=gf.creategraph(m,n)
[V,E]=gf.weightedgraph(V0,E0,100)
gf.drawgraph(E0)
print("E0",E0)
print("E",E)
